package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechUserBankCardDao;
import com.appkubes.mall.core.entity.FintechUserBankCard;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechUserBankCardService extends AbstractBaseService<BaseFintechUserBankCardDao, FintechUserBankCard> {

    FintechUserBankCard getOneByEntity(FintechUserBankCard entity);

    List<FintechUserBankCard> selectListByEntity(FintechUserBankCard entity);

    IPage<FintechUserBankCard> selectPageByEntity(IPage<FintechUserBankCard> page);
    IPage<FintechUserBankCard> selectPageByEntity(PageVO pageVO);

    IPage<FintechUserBankCard> selectPageByEntity(FintechUserBankCard entity, IPage<FintechUserBankCard> page);
    IPage<FintechUserBankCard> selectPageByEntity(FintechUserBankCard entity, PageVO pageVO);

    IPage<FintechUserBankCard> selectPageByEntity(FintechUserBankCard entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechUserBankCard entity);
}
